<!--
 * @Description: 
 * @Version: 2.0
 * @Author: , // 文件作者
 * @Date: 2023-07-10 18:04:36
 * @LastEditors: 刘金开 liujinkai@jiankeyan.com
 * @LastEditTime: 2023-07-24 16:01:55
-->
<!--
 * @Description: 
 * @Version: 2.0
 * @Author: , // 文件作者
 * @Date: 2023-07-10 18:04:36
 * @LastEditors: liujinkai
 * @LastEditTime: 2023-07-10 18:12:48
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>博之雅艺术培训中心</title>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
  <script>
    function setRem() {
      const baseSize = 16;
      let nowSize = document.documentElement.clientWidth;
      const scale = nowSize > 1020 ? nowSize / 1980 : 1020 / 1980;
      let newSize = (baseSize * Math.min(scale, 3)).toFixed(2);

      document.documentElement.style.fontSize = newSize + "px";
    }
    setRem();
  </script>
</body>

</html>